package com.ocom.common.request.payhandle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BackPayRequest {

    @Min(1L)
    @NotNull(message = "companyId 不能为空")
    private Long companyId;
    @NotNull(message = "backId 不能为空")
    private Long backId;
    @NotBlank(message = "tradeNo 不能为空")
    private String tradeNo;


//    @NotNull(message = "pointId 不能为空")
//    private Long pointId;
//    @NotNull(message = "consTime 不能为空")
//    private Date consTime;
//    @NotNull(message = "amount 不能为空")
//    private Integer amount;
//    @Min(1)
//    private Integer consType=1;
//    @NotNull(message = "userId 不能为空")
//    private Long userId;
//    @NotNull(message = "merchId 不能为空")
//    private Long merchId;
//
    private String machNo = "公众号";
//
//    private String deviceNo = "000000";
//    private String deviceName;
//
//    private String platOrderNo;
}
